<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>vue基础模板</title>
    <script src="../vue.js"></script>
</head>

<body>
    <div id="app">
        <input type="text" v-model:value.number.lazy.trim="textValue"><br>
        <input type="checkbox" name="city" v-model="checksValue" value="北京">北京
        <input type="checkbox" name="city" v-model="checksValue" value="上海">上海
        <input type="checkbox" name="city" v-model="checksValue" value="三亚">三亚
        <input type="checkbox" name="city" v-model="checksValue" value="杭州">杭州
        <br>
        <input type="checkbox" name="city" v-model="checkValue">是否同意协议
        <input type="radio" name="sex" v-model="radioValue" value="男">男
        <input type="radio" name="sex" v-model="radioValue" value="女">女
        <br>
        <select name="fool" v-model="selectsValue" multiple>
            <option value="麻婆豆腐">麻婆豆腐</option>
            <option value="东坡肉">东坡肉</option>
            <option value="开水白菜">开水白菜</option>
            <option value="北京烤鸭">北京烤鸭</option>
        </select>
        <select name="fool" v-model="selectValue">
            <option value="麻婆豆腐">麻婆豆腐</option>
            <option value="东坡肉">东坡肉</option>
            <option value="开水白菜">开水白菜</option>
            <option value="北京烤鸭">北京烤鸭</option>
        </select>
        <textarea v-model="textarea" name="content" id="" cols="30" rows="10"></textarea>

    </div>

    <script>
        Vue.config.productionTip = false;
        const vm = new Vue({
            el: "#app",
            data() {
                return {
                    textValue: '',
                    checkValue: false,
                    checksValue: [],
                    radioValue: '男',
                    selectValue: '',
                    selectsValue: [],
                    textarea:''

                }
            }
        })
    </script>
</body>

</html>